//
//  ZYCAddPhotoView.h
//  ZDSC
//
//  Created by ZDTX on 2021/9/27.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol ZYCAddPhotoViewDelegate <NSObject>

- (void)addPhotosViewDidClickDelete:(NSObject *)object;

- (void)addPhotosViewUpdateSaveStatus;

@end
@interface ZYCAddPhotoView : UIView

@property (nonatomic, strong) NSMutableArray *dataArray;
/**已选择的图片*/
@property (nonatomic, strong) NSMutableArray *selectedPhotos;
/**已选择的资源*/
@property (nonatomic, strong) NSMutableArray *selectedAssets;

@property (nonatomic, assign) CGFloat collectionHeight;
@property (nonatomic, weak) id<ZYCAddPhotoViewDelegate> delegate;
@end


//获取视图所在控制器的扩展
@interface UIView (Extend)
- (UIViewController *)viewController;

@end

NS_ASSUME_NONNULL_END
